package ace.module.account.api.model.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "账户搜索参数")
public class IamAccountModifyStatusInput implements Serializable {

  @NotNull
  @Schema(title = "账户id")
  private Long accountId;

  @Max(value = 2)
  @Min(value = 1)
  @Schema(title = "状态", description = "1-正常 2-锁定")
  private Integer status;
}
